package cts.com.jaxb;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(namespace = "cts.com.jaxb")
public class NEFTTransactions {

  // XmLElementWrapper generates a wrapper element around XML representation
  @XmlElementWrapper(name = "transactions")
  // XmlElement sets the name of the entities
  @XmlElement(name = "transaction")
  private ArrayList<TransactionBean> bookList;

  public void setBookList(ArrayList<TransactionBean> bookList) {
    this.bookList = bookList;
  }

  public ArrayList<TransactionBean> getBooksList() {
    return bookList;
  }

} 